import requst from '../utils/requst'

export const getArticleDataWay = parms => {
  return requst.get('/mp/v1_0/articles', { params: parms })
}

export const getArticleChannelsWay = () => {
  return requst.get('/mp/v1_0/channels')
}

export const deleteArticleWay = (id) => {
  return requst.delete(`/mp/v1_0/articles/${id}`)
}
